<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
	<title>Cron测试</title>
	<meta charset="utf8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="stylesheet" href="http://cdn.bootcss.com/bootstrap/3.2.0/css/bootstrap.min.css" type="text/css" />
	<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body>
	<div class="container">
		<h1 class="page-heading">Cron测试</h1>
		<div id="result"></div>
		<p>时间间隔（单位：分钟）：<input type="text" id="timesplit" class="form-control"></p>
		<p>时间（如1220）：<input type="text" id="time" class="form-control"></p>
		<p></p>
		<p><input type="button" id="submit" class="btn btn-primary" value="测试"></p>
	</div>
	<script src="http://cdn.bootcss.com/jquery/1.11.1/jquery.min.js"></script>
	<script src="http://cdn.bootcss.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
	<script>
	$('#submit').click(function(){
		var timesplit=$('#timesplit').val();
		var time=$('#time').val();
		var d=new Date();
		d.setHours(time.substr(0,2),time.substr(2,2));
	});
	</script>
</body>
</html>